package com.huike.clues.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huike.clues.domain.TbActivity;
import com.huike.common.entity.MPTbActivity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description TODO
 * @Author hxd
 * @Date 2023-08-29 9:10
 */
@Mapper
public interface ActivityMapper extends BaseMapper<MPTbActivity> {

    List<MPTbActivity> MyselectList(MPTbActivity tbActivity);

    @Select("select * from tb_activity where id = #{activityId}")
    MPTbActivity selectOnea(Long activityId);
}
